package com.qf.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lixu
 */
@RestController
@RequestMapping("/nginx")
public class NginxController {


    @GetMapping("/test")
    public String test(){

        return "我是SSM:8081";
    }

    public static void main(String[] args) {


        String ip = "192.168.200.200";
        int i = ip.hashCode();
        int j = i%2;// 0 1
        System.out.println(j);
    }
}
